<?php

if (!defined('TOBBIVM'))
	header('location:/template/notrepassing.php');
/**
 * This file is part of TobbiVMShop.
 *
 * TobbiVMShop is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TobbiVMShop is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with TobbiVMShop.  If not, see <http://www.gnu.org/licenses/>.
 */
/**
 * creat file to Configuration Front- and Backend
 *
 * @version    $Id$
 * @package    TobbiVM-Shop
 * @copyright  Copyright (C) 2015
 * @author     Norbert Gebert
 * @license    GPL3
 * @access	   public
 *
 * These values must be adapted to your requirements!
 */
/*
 * Database and domain settings
 */
// @const string $url Path to tobbivmshop (index.php)
const URL = '{url}';
// @const string TEMPLATE_PATH template-Path
const TEMPLATE_PATH = 'template';
// @const string LANGUAGE Language-ID
const LANGUAGE = 'de_DE';
// @const string DB_NAME Databasename
const DB_NAME = '{db_name}';
// @const string DB_HOST DB-Adress, mostly 'localhost'
const DB_HOST = '{localhost}';
// @const string DB_USER DB-Username
const DB_USER = '{db_username}';
// @const string DB_PASSWORD DB-Password
const DB_PASSWORD = '{db_password}';
// @const string DB_PREFIX DB-Präfix - e.g. more than one shop in Database
// NOT USED IN THIS VERSION!
const DB_PREFIX = '';
// @const string ADMIN_EMAIL Email for all systemmails
const ADMIN_EMAIL = '{admin_email}';

/**
 * Mail settings for order e.g.
 * Only SMTP mail server are used!
 */
// @const string MAIL_HOSTNAME Set the hostname of the mail server
const MAIL_HOSTNAME = '{mail_servername}';
// @const string MAIL_USER Username to use for SMTP authentication
const MAIL_USER = '{mail_username}';
// @const string MAIL_PASSWORD Password to use for SMTP authentication
const MAIL_PASSWORD = '{mail_password}';
// @const integer MAIL_PORT Set the SMTP port number - likely to be 25, 465 or 587
const MAIL_PORT = {mail_port};
// @const logical MAIL_AUTH Whether to use SMTP authentication
const MAIL_AUTH = TRUE;
// @const MAIL_SENDER
const MAIL_SENDER = '{mail_sender}';
// @const MAIL_SENDER_NAME
const MAIL_SENDER_NAME = '{shop_name}';
// @const Mail_SEND_REVOCATION Set to TRUE if send with the invoice
const Mail_SEND_REVOCATION = {revocation};
// @const MAIL_SEND_TERMS Set to TRUE if send your terms with the invoice
const MAIL_SEND_TERMS = {terms};
// @const MAIL_ORDER
const MAIL_ORDER = 'mail_order';
// @const MAIL_ORDER_NAME
const MAIL_ORDER_NAME = 'mail_order_name';


/**
 * Global settings
 */
// @const string  IMAGE_EXTENSION List of allowed Imagetype as array
//				Upper and lower case are ignored
const IMAGE_EXTENSION = '{image_ext}';
// @const integer MAX_ATTEMPTS Max of custome loginerrrors, then the user set to not active
const CUSTOMER_MAX_ATTEMPTS = {login_error};
// @const integer CUSTOMER_SESSION_TIME Set session lenght in seconds
const CUSTOMER_SESSION_TIME = {session_time};
// @const string PHP_TIMEZONE		List of Timezones: http://www.php.net/manual/en/timezones.php
const PHP_TIMEZONE = 'Europe/Berlin';

/**
 * Shopadress for email e.g.
 */
// @const string COMPANY_NAME
const COMPANY_NAME = '{company_name}';
// @const string COMPANY_STREET
const COMPANY_STREET = '{street}';
// @const string COMPANY_CITY
const COMPANY_CITY = '{city}';
// @const string COMPANY_PHONE
const COMPANY_PHONE = '{phone}';
// @const string COMPANY_FAX
const COMPANY_FAX = '{fax}';
// @const string COMPANY_EMAIL
const COMPANY_EMAIL = '{mail_sender}';

/**
 * Category settings
 */
// @const integer CATEGORY_THUMB_WIDTH tumbnail width in px
const CATEGORY_THUMB_WIDTH = 120;
// @const integer CATEGORY_THUMB_HEIGHT thumbnail height in px
const CATEGORY_THUMB_HEIGHT = 120;
// @const string CATEGORY_IMAGE_PATH Path to category images
const CATEGORY_IMAGE_PATH = 'category';
// @const string CATEGORY_IMAGE_THUMB_PATH Path to category images Thumbnails
const CATEGORY_IMAGE_THUMB_PATH = 'thumb';
// @const integer CATEGORY_IMAGE_SIZE Max. size of Image in Bytes
const CATEGORY_IMAGE_SIZE = 32768;

/**
 * Article settings
 */
// @const integer ARTICLE_THUMB_WIDTH tumbnail width in px
const ARTICLE_THUMB_WIDTH = 120;
// @const integer ARTICLE_THUMB_HEIGHT thumbnail height in px
const ARTICLE_THUMB_HEIGHT = 120;
// @const string ARTICLE_IMAGE_PATH Path to article images
const ARTICLE_IMAGE_PATH = 'article';
// @const string ARTICLE_IMAGE_THUMB_PATH Path to article images Thumbnails
const ARTICLE_IMAGE_THUMB_PATH = 'thumb';
// @const integer ARTICLE_IMAGE_SIZE Max. size of Image in Bytes
const ARTICLE_IMAGE_SIZE = 131072;

const LIST_ARTICLE = 5;
/**
 * Filebrowser settings
 */
// @const string USER_IMAGE_PATH Path to user images
const USER_IMAGE_PATH = 'images/user/';

/**
 * Meta settings
 */
// @const integer META_DESCRIPTION_LENGH, Lengh of Metadescription in Character
const META_DESCRIPTION_LENGH = 140;
// @const integer META_KEYWORD_NUMBER, Number of keywords
const META_KEYWORD_NUMBER = 10;
// @const string TEMPLATE_TITEL Title for The Page
const TEMPLATE_TITEL = 'tobbivmshop';
// @const string META_KEYWORDS, Standard if not set in Category/Article
const META_KEYWORDS = 'TobbiVM-Shop, Shopsystem, Plugin, PHP, HTML, OpenSource, Javascript, CSS, Kostenlos, Script';
// @const string META_DESCRIPTION, Standard if not set in Category/Article
const META_DESCRIPTION = 'Mit TobbiVM-Shop hast du ein, auf den deutschen Markt zugeschnittenes, zukunftssicheres Shopsystem. ';
// @const string META_GENERATOR, You can write everythind what you want to deceive Bots etc.
const META_GENERATOR = 'TobbiVM-Shop, a German Shopsystem';

/**
 * Shop settings
 */
// @const string CURRENCY, Symbol for active Currency
const CURRENCY = ' €';
// @const string CURRENCY_CODE
const CURRENCY_CODE = 'EUR';
// @const boolean USER_LOGIN True if every customer must register
const USER_LOGIN = TRUE;
// @const int CART_TIME Time in seconds to hold entrys in cart
//		  			if user inactiv, only registered users cart saved permanently
const CART_TIME = 1800;

/**
 * User-Account settings
 * First: Settings for account regitration
 */
// @const integer COMPANY 0 = Not used, 1 = used, 2 = used AND required
const COMPANY = 1;
// @const integer FIRSTNAME 0 = Not used, 1 = used, 2 = used AND required
const FIRSTNAME = 2;
// @const integer LASTNAME 0 = Not used, 1 = used, 2 = used AND required
const LASTNAME = 2;
// @const integer STREET 0 = Not used, 1 = used, 2 = used AND required
const STREET = 2;
// @const integer ZIP_CODE 0 = Not used, 1 = used, 2 = used AND required
const ZIP_CODE = 2;
// @const integer CITY 0 = Not used, 1 = used, 2 = used AND required
const CITY = 2;
// @const integer COUNTRY 0 = Not used, 1 = used, 2 = used AND required
const COUNTRY = 2;
// @const integer STATE 0 = Not used, 1 = used, 2 = used AND required
const STATE = 2;
// @const integer PHONE 0 = Not used, 1 = used, 2 = used AND required
const PHONE = 2;
// @const integer FAX 0 = Not used, 1 = used, 2 = used AND required
const FAX = 1;
// @const integer MOBILE 0 = Not used, 1 = used, 2 = used AND required
const MOBILE = 1;
// @const integer EMAIL 0 = Not used, 1 = used, 2 = used AND required
const EMAIL = 2;
// @const integer ZIP_CODE_LENGH values 1 to 10
const ZIP_CODE_LENGH = 5;
// @const string DEFAULT_STATE
const DEFAULT_STATE = 'Deutschland';

/**
 * Captcha
 */
// @const CAPTCHA_ON Set to TRUE to use captcha
const CAPTCHA_ON = TRUE;
// @const CAPTCHA_FONTS Set the value of used fontfiles in module/class/captcha/font
const CAPTCHA_FONTS = 5;
// @const CAPTCHA_WIDTH Width of the captcha-field in pixel
const CAPTCHA_WIDTH = 140;
// @const CAPTCHA_HEIGHT Height of the captcha-field in pixel
const CAPTCHA_HEIGHT = 50;
// @const CAPTCHA_MAX Maximum operand value
const CAPTCHA_MAX = 55;
// @const CAPTCHA_BACKGOUND Backgroundcolor in; format: '#ffff00'
const CAPTCHA_BACKGOUND = '#40e0d0';

/**
 * Don't change the code after this point!
 */
const SECURE = '1542148735124951';
// @const integer SMTP_DEBUG Enable SMTP debugging
// 0 = off (for production use)
// 1 = client messages
// 2 = client and server messages
const SMTP_DEBUG = 0;
?>